<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Modélisation_environnement_forestier Documentation:  Fichier source de Circle.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&nbsp;des&nbsp;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&nbsp;de&nbsp;fichier</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>Circle.h</h1>  </div>
</div>
<div class="contents">
<a href="_circle_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef CIRCLE_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define CIRCLE_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00009"></a>00009 <span class="preprocessor">#include &lt;math.h&gt;</span>
<a name="l00010"></a>00010 <span class="preprocessor">#include &quot;<a class="code" href="_point_8h.html" title="Fichier contenant la déclaration de la classe Point.">Point.h</a>&quot;</span> 
<a name="l00011"></a>00011 
<a name="l00012"></a><a class="code" href="class_circle.html">00012</a> <span class="keyword">class </span><a class="code" href="class_circle.html">Circle</a>
<a name="l00013"></a>00013 {
<a name="l00014"></a>00014         <span class="comment">/* \class Circle</span>
<a name="l00015"></a>00015 <span class="comment">         * \brief Cette classe reprsente un cercle dans l&#39;espace de Hough.</span>
<a name="l00016"></a>00016 <span class="comment">         */</span>
<a name="l00017"></a><a class="code" href="class_circle.html#acf0fd7b1f09716e690702ad61ec6d097">00017</a>         <span class="keyword">private</span> :
<a name="l00018"></a><a class="code" href="class_circle.html#a79d548ad79bfb65f62a77f7ccbccb22e">00018</a> 
<a name="l00019"></a><a class="code" href="class_circle.html#a4d3727a213be41398cc279a6153a672f">00019</a>         <span class="keywordtype">float</span> <a class="code" href="class_circle.html#acf0fd7b1f09716e690702ad61ec6d097">A</a>;        
<a name="l00020"></a>00020         <span class="keywordtype">float</span> <a class="code" href="class_circle.html#a79d548ad79bfb65f62a77f7ccbccb22e">B</a>;        
<a name="l00021"></a>00021         <span class="keywordtype">float</span> <a class="code" href="class_circle.html#a4d3727a213be41398cc279a6153a672f">R</a>;        
<a name="l00023"></a>00023         <span class="keyword">public</span> :
<a name="l00024"></a>00024 
<a name="l00030"></a>00030         <a class="code" href="class_circle.html#a3ea668d8be6a76ab7033c43a57874a11" title="Constructeur de la classe Circle.">Circle</a>(<span class="keywordtype">void</span>);
<a name="l00031"></a>00031 
<a name="l00041"></a>00041         <a class="code" href="class_circle.html#a3ea668d8be6a76ab7033c43a57874a11" title="Constructeur de la classe Circle.">Circle</a>(<span class="keywordtype">float</span> _a, <span class="keywordtype">float</span> _b, <span class="keywordtype">float</span> _r);
<a name="l00042"></a>00042 
<a name="l00053"></a>00053                 <a class="code" href="class_circle.html#a3ea668d8be6a76ab7033c43a57874a11" title="Constructeur de la classe Circle.">Circle</a>(<a class="code" href="class_point.html">Point</a> _p1, <a class="code" href="class_point.html">Point</a> _p2, <a class="code" href="class_point.html">Point</a> _p3);
<a name="l00054"></a>00054 
<a name="l00062"></a>00062         <a class="code" href="class_circle.html#a3ea668d8be6a76ab7033c43a57874a11" title="Constructeur de la classe Circle.">Circle</a>(<span class="keyword">const</span> <a class="code" href="class_circle.html">Circle</a> &amp; _c);
<a name="l00063"></a>00063 
<a name="l00069"></a>00069         <a class="code" href="class_circle.html#ae3f30436e645d73e368e8ee55f8d1650" title="Destructeur de la classe Circle.">~Circle</a>();
<a name="l00070"></a>00070 
<a name="l00081"></a>00081                 <span class="keywordtype">void</span> <a class="code" href="class_circle.html#a93f925e445fbbf6f095e33e5a20f5e7c" title="Modificateur de la classe Circle.">setABR</a>(<span class="keywordtype">float</span> _a, <span class="keywordtype">float</span> _b, <span class="keywordtype">float</span> _r);
<a name="l00082"></a>00082        
<a name="l00090"></a>00090         <span class="keywordtype">float</span> <a class="code" href="class_circle.html#a2c60bf309df678e8eb92f3cabb1c5496" title="Accesseur de la classe Hough.">getA</a>(<span class="keywordtype">void</span>);
<a name="l00091"></a>00091 
<a name="l00099"></a>00099         <span class="keywordtype">float</span> <a class="code" href="class_circle.html#aaf012e0fc0eaaaa36d78451993a8c4bf" title="Accesseur de la classe Hough.">getB</a>(<span class="keywordtype">void</span>);
<a name="l00100"></a>00100 
<a name="l00108"></a>00108         <span class="keywordtype">float</span> <a class="code" href="class_circle.html#accf46e9100b8b44a7dd81aceba245b72" title="Accesseur de la classe Hough.">getR</a>(<span class="keywordtype">void</span>);
<a name="l00109"></a>00109 
<a name="l00119"></a>00119                 <span class="keywordtype">void</span> <a class="code" href="class_circle.html#a0a79b1b58f50f02bacb21cdb31d8bb88" title="Affiche le cercle dans l&amp;#39;espace.">draw</a>( <span class="keywordtype">float</span> _z = 0.0 );
<a name="l00120"></a>00120                 
<a name="l00133"></a>00133                 <span class="keywordtype">void</span> <a class="code" href="class_circle.html#a0a79b1b58f50f02bacb21cdb31d8bb88" title="Affiche le cercle dans l&amp;#39;espace.">draw</a>( <span class="keywordtype">float</span> _z, <span class="keywordtype">float</span> _r, <span class="keywordtype">float</span> _g, <span class="keywordtype">float</span> _b );
<a name="l00134"></a>00134                 
<a name="l00142"></a>00142                 <span class="keywordtype">void</span> <a class="code" href="class_circle.html#a8e1b2afd696611b697691ed8ae897000" title="Affiche les attributs du cercle dans la console.">print</a>();
<a name="l00143"></a>00143 
<a name="l00152"></a>00152                 <span class="keywordtype">bool</span> <a class="code" href="class_circle.html#aa63567e0797baddc556726380b10a8c7" title="Calcule si deux cercles s&amp;#39;intersectent.">intersect</a>(<a class="code" href="class_circle.html">Circle</a> _c);
<a name="l00153"></a>00153                 
<a name="l00162"></a>00162                 <span class="keywordtype">int</span> <a class="code" href="class_circle.html#ac3b5b302983cba90f925babcd3a2c620" title="Calcule si deux cercles s&amp;#39;intersectent.">conflict</a>(<a class="code" href="class_circle.html">Circle</a> _c);
<a name="l00163"></a>00163 
<a name="l00164"></a>00164 };
<a name="l00165"></a>00165 
<a name="l00166"></a>00166 <span class="preprocessor">#endif</span>
<a name="l00167"></a>00167 <span class="preprocessor"></span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Généré le Mon Feb 21 2011 18:18:15 pour Modélisation_environnement_forestier Documentation par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
